package com.sleep.psy.external_server.business.resourse.entity.dto;

import com.baomidou.mybatisplus.annotation.TableField;
import com.sleep.psy.external_server.business.resourse.entity.QuestMain;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * @author wenliguo
 * @date 2025年06月05日 11:51
 */
@ApiModel("量表")
@Data
public class Scale {

    @ApiModelProperty("量表id")
    private Integer scaleId;

    @ApiModelProperty("量表名称")
    private String scaleName;

    @ApiModelProperty("量表url地址")
    private String url;

    @ApiModelProperty("来源标记（1-数据库 2-JSON文件3-自定义）")
    private Integer sourceFlag;

    @ApiModelProperty("量表内容详情")
    private String scaleDetails;

    @ApiModelProperty("对应quest_main表cu_id")
    private Integer cuId;

    @ApiModelProperty("状态（1-正常 0-不可用）")
    private Integer scaleStatus;

    @ApiModelProperty("分类id")
    private Integer categoryId;

    @ApiModelProperty("分类code")
    private String categoryCode;

    @ApiModelProperty("分类名称")
    private String categoryName;

    @TableField(exist = false)
    @ApiModelProperty("问题和答案")
    private List<QuestMain> questMainList;


}
